package com.kingdee.eas.custom.myinterface.app;

import org.apache.log4j.Logger;
import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.custom.myinterface.util.StaticParam;
import com.kingdee.eas.custom.myinterface.util.SyncUtil;

import java.lang.String;

public class SyncCustomAccountProjectFacadeControllerBean extends AbstractSyncCustomAccountProjectFacadeControllerBean
{
    private static Logger logger =
        Logger.getLogger("com.kingdee.eas.custom.myinterface.app.SyncCustomAccountProjectFacadeControllerBean");

	/* (non-Javadoc)
	 * @see com.kingdee.eas.custom.myinterface.app.AbstractSyncCustomAccountProjectFacadeControllerBean#syncContractAddNew(com.kingdee.bos.Context, java.lang.String, java.lang.String, boolean)
	 */
	@Override
	public String syncContractAddNew(Context ctx, String longNumber,
			String name, boolean isLeaf) throws BOSException {
		// TODO Auto-generated method stub
		return SyncUtil.syncCustomAccountProjectAddNew(ctx, StaticParam.CONTRACT_NUMBER, longNumber, name, isLeaf);
	}


	/* (non-Javadoc)
	 * @see com.kingdee.eas.custom.myinterface.app.AbstractSyncCustomAccountProjectFacadeControllerBean#syncContractUpdate(com.kingdee.bos.Context, java.lang.String, java.lang.String)
	 */
	@Override
	public String syncContractUpdate(Context ctx, String longNumber,
			String newName) throws BOSException {
		// TODO Auto-generated method stub
		return SyncUtil.syncCustomAccountProjectUpdate(ctx, StaticParam.CONTRACT_NUMBER, longNumber, newName);
	}


	/* (non-Javadoc)
	 * @see com.kingdee.eas.custom.myinterface.app.AbstractSyncCustomAccountProjectFacadeControllerBean#syncProjectAddNew(com.kingdee.bos.Context, java.lang.String, java.lang.String, boolean)
	 */
	@Override
	public String syncProjectAddNew(Context ctx, String longNumber,
			String name, boolean isLeaf) throws BOSException {
		// TODO Auto-generated method stub
		return SyncUtil.syncCustomAccountProjectAddNew(ctx, StaticParam.PROJECT_NUMBER, longNumber, name, isLeaf);
	}


	/* (non-Javadoc)
	 * @see com.kingdee.eas.custom.myinterface.app.AbstractSyncCustomAccountProjectFacadeControllerBean#syncProjectUpdate(com.kingdee.bos.Context, java.lang.String, java.lang.String)
	 */
	@Override
	public String syncProjectUpdate(Context ctx, String longNumber,
			String newName) throws BOSException {
		// TODO Auto-generated method stub
		return SyncUtil.syncCustomAccountProjectUpdate(ctx, StaticParam.PROJECT_NUMBER, longNumber, newName);
	}


	/* (non-Javadoc)
	 * @see com.kingdee.eas.custom.myinterface.app.AbstractSyncCustomAccountProjectFacadeControllerBean#syncSupportProjectAddNew(com.kingdee.bos.Context, java.lang.String, java.lang.String, boolean)
	 */
	@Override
	public String syncSupportProjectAddNew(Context ctx, String longNumber,
			String name, boolean isLeaf) throws BOSException {
		// TODO Auto-generated method stub
		return SyncUtil.syncCustomAccountProjectAddNew(ctx, StaticParam.SUPPORT_PROJECT_NUMBER, longNumber, name, isLeaf);
	}


	/* (non-Javadoc)
	 * @see com.kingdee.eas.custom.myinterface.app.AbstractSyncCustomAccountProjectFacadeControllerBean#syncSupportProjectUpdate(com.kingdee.bos.Context, java.lang.String, java.lang.String)
	 */
	@Override
	public String syncSupportProjectUpdate(Context ctx, String longNumber,
			String newName) throws BOSException {
		// TODO Auto-generated method stub
		return SyncUtil.syncCustomAccountProjectUpdate(ctx, StaticParam.SUPPORT_PROJECT_NUMBER, longNumber, newName);
	}

	/* (non-Javadoc)
	 * @see com.kingdee.eas.custom.myinterface.app.AbstractSyncCustomAccountProjectFacadeControllerBean#syncSupplierAddNew(com.kingdee.bos.Context, java.lang.String, java.lang.String, boolean)
	 */
	@Override
	public String syncSupplierAddNew(Context ctx, String longNumber,
			String name) throws BOSException {
		// TODO Auto-generated method stub
		return SyncUtil.syncSupplierAddNew(ctx, StaticParam.SUPPLIER_NUMBER, longNumber, name);
	}


	/* (non-Javadoc)
	 * @see com.kingdee.eas.custom.myinterface.app.AbstractSyncCustomAccountProjectFacadeControllerBean#syncSupplierUpdate(com.kingdee.bos.Context, java.lang.String, java.lang.String)
	 */
	@Override
	public String syncSupplierUpdate(Context ctx, String longNumber,
			String newName) throws BOSException {
		// TODO Auto-generated method stub
		return SyncUtil.syncSupplierUpdate(ctx, StaticParam.SUPPLIER_NUMBER, longNumber, newName);
	}

}